<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>open exe</title>
		<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
		<style>
			a {
				font-size: 30px;
				text-decoration: none;
			}
		</style>
	</head>

	<script type="text/javascript">
		console.log()
		var url = window.location.href
		var cs = url.split('?')[1];
		var arr = cs.split('=')[1]
		arr = arr==null?'':arr
		console.log(arr)

		function run() {
			$('.a').attr('href', 'XFManage://' + arr)
			console.log($('.a').attr('href'))
			document.getElementById("autorun").click();
		}
	</script>

	<body onload="run()">
		<a class="a" href="XFManage://192.168.1.68"><span id="autorun"></span></a>
		<hr />
	</body>
</html>
